package com.chorten.cmpp30.client;

class RecvKey {
	public String srcid;
	public String destid;
	public short signedid;

	public int hashCode() {
		return srcid.hashCode()^destid.hashCode()^signedid;
	}
	
	public boolean equals(Object obj) {
		if (obj instanceof RecvKey) {
			RecvKey value = (RecvKey)obj;
			return (srcid.equals(value.srcid)&&destid.equals(value.destid)&&signedid==value.signedid);
		}
		return false;
	}

}
